-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (32 loc) · 825 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (32 loc) · 825 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:
# Database service to set up a testing/development environment
db:
image: mysql:8.4
restart: always
environment:
MYSQL_ROOT_PASSWORD: test
# MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
MYSQL_DATABASE: policyd-rate-guard
MYSQL_USER: policyd-rate-guard
MYSQL_PASSWORD: Example1234
MYSQL_INITDB_SKIP_TZINFO: 'yes'
command: --default-time-zone='+02:00'
ports:
- 13312:3306
policyd:
build: .
restart: always
ports:
- 10033:10033
environment:
QUOTA: 5
postfix:
image: danilsmirnov/postfix
restart: always
ports:
- '1025:25'
volumes:
- ./docker-postfix/main.cf:/etc/postfix/main.cf
environment:
MAIL_DOMAIN: example.com
SMTP_USER: 'test01:Example1234,test02:Example1234,test03:Example1234'