-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (27 loc) · 716 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (27 loc) · 716 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
services:
postal:
image: ${POSTAL_IMAGE}
depends_on:
- mariadb
entrypoint: ["/docker-entrypoint.sh"]
volumes:
- "./docker/ci-config:/config"
environment:
POSTAL_SIGNING_KEY_PATH: /config/signing.key
MAIN_DB_HOST: mariadb
MAIN_DB_USERNAME: root
MESSAGE_DB_HOST: mariadb
MESSAGE_DB_USERNAME: root
LOGGING_ENABLED: "false"
RAILS_ENVIRONMENT: test
RAILS_LOG_ENABLED: "false"
WAIT_FOR_TIMEOUT: 90
WAIT_FOR_TARGETS: |-
mariadb:3306
mariadb:
image: mariadb
restart: always
environment:
MARIADB_DATABASE: postal
MARIADB_ALLOW_EMPTY_PASSWORD: 'yes'
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: 'yes'