-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (32 loc) · 839 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
32 lines (32 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
insta-coffee:
image: wozniakslawomir/insta-coffee
build:
context: ./
dockerfile: ./Dockerfile
network_mode: host
deploy:
resources:
limits:
cpus: "1"
memory: 1024M
volumes:
- ./screenshots:/app/insta-coffee/screenshots
- ./logs:/app/insta-coffee/logs
- ./data:/app/insta-coffee/data
- ./config:/app/insta-coffee/config
mailserver:
image: wozniakslawomir/mailserver
restart: always
build:
context: ./mailserver
dockerfile: ./Dockerfile
network_mode: host
environment:
- MY_EMAIL=${MY_EMAIL}
- MAIL_HOST=${MAIL_HOST}
- MAIL_PASSWORD=${MAIL_PASSWORD}
- SENDER_EMAIL=${SENDER_EMAIL}
- MAILSERVER_PORT=${MAILSERVER_PORT}
volumes:
- ./mailserver/logs:/usr/src/app/logs