-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.docker-compose.yml
executable file
·39 lines (38 loc) · 1.06 KB
/
example.docker-compose.yml
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
version: "3.5"
services:
yubikey-val:
container_name: yubikey-val
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
environment:
MYSQL_HOST: ${MYSQL_VAL_HOST}
MYSQL_PORT: ${MYSQL_VAL_PORT}
MYSQL_ROOT_USER: ${MYSQL_VAL_ROOT_USER}
MYSQL_ROOT_PASSWORD: ${MYSQL_VAL_ROOT_PASSWORD}
YKVAL_DB_NAME: ${YKVAL_DB_NAME}
YKVAL_VERIFIER_DB_NAME: ${YKVAL_VERIFIER_DB_NAME}
YKVAL_VERIFIER_DB_PASSWORD: ${YKVAL_VERIFIER_DB_PASSWORD}
TZ: ${TZ}
networks:
- ykval-network
- ykval2ksm
ports:
- 5004:80
db-val:
image: mariadb
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_VAL_ROOT_PASSWORD}
volumes:
- ./data/mysql:/var/lib/mysql
networks:
- ykval-network
ports:
- 3308:3306
networks:
ykval-network:
driver: bridge
ykval2ksm:
external: true