-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.yaml
68 lines (62 loc) · 1.32 KB
/
test.yaml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: "2.4"
services:
odoo:
extends:
file: common.yaml
service: odoo
env_file:
- .docker/odoo.env
- .docker/db-access.env
environment:
DOODBA_ENVIRONMENT: "${DOODBA_ENVIRONMENT-test}"
# To install demo data export DOODBA_WITHOUT_DEMO=false
WITHOUT_DEMO: "${DOODBA_WITHOUT_DEMO-all}"
SMTP_PORT: "1025"
SMTP_SERVER: smtplocal
restart: unless-stopped
depends_on:
- db
- smtp
networks:
default:
globalwhitelist_shared:
labels:
doodba.domain.main: ""
command:
- odoo
- --workers=2
- --max-cron-threads=1
db:
extends:
file: common.yaml
service: db
env_file:
- .docker/db-creation.env
restart: unless-stopped
smtp:
extends:
file: common.yaml
service: smtpfake
restart: unless-stopped
networks:
default:
aliases:
- smtplocal
labels:
doodba.domain.main: ""
volumes:
- "smtpconf:/etc/mailhog:ro,z"
entrypoint: [sh, -c]
command:
- test -r /etc/mailhog/auth && export MH_AUTH_FILE=/etc/mailhog/auth; exec MailHog
networks:
default:
internal: ${DOODBA_NETWORK_INTERNAL-true}
driver_opts:
encrypted: 1
globalwhitelist_shared:
external: true
volumes:
filestore:
db:
smtpconf: