2019-08-20 17:19:15 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
selfsigned:
|
|
|
|
build:
|
2019-08-28 14:43:14 +02:00
|
|
|
context: .
|
|
|
|
dockerfile: certs.Dockerfile
|
2019-08-20 17:19:15 +02:00
|
|
|
container_name: gencerts
|
|
|
|
volumes:
|
|
|
|
- ./certs:/certs
|
2019-08-29 14:12:13 +02:00
|
|
|
env_file:
|
2019-09-05 12:53:11 +02:00
|
|
|
- ./config/secrets
|
2019-08-20 17:19:15 +02:00
|
|
|
|
|
|
|
mariadb:
|
|
|
|
image: "mariadb/server:10.3"
|
|
|
|
container_name: seb-server-mariadb
|
|
|
|
volumes:
|
2019-09-05 12:53:11 +02:00
|
|
|
- ./config:/etc/mysql/conf.d
|
2019-08-20 17:19:15 +02:00
|
|
|
- ./certs:/etc/mysql/certs
|
|
|
|
- seb-server-mariadb-data:/var/lib/mysql
|
2019-08-29 11:46:54 +02:00
|
|
|
env_file:
|
2019-09-05 12:53:11 +02:00
|
|
|
- ./config/secrets
|
2019-08-20 17:19:15 +02:00
|
|
|
ports:
|
|
|
|
- 3306:3306
|
|
|
|
networks:
|
|
|
|
- seb-server-network
|
|
|
|
depends_on:
|
|
|
|
- "selfsigned"
|
|
|
|
|
|
|
|
seb-server:
|
|
|
|
build:
|
|
|
|
context: .
|
2019-08-28 14:43:14 +02:00
|
|
|
dockerfile: sebserver.Dockerfile
|
2019-08-20 17:19:15 +02:00
|
|
|
args:
|
2019-08-26 16:54:23 +02:00
|
|
|
- GIT_TAG=
|
|
|
|
- SEBSERVER_VERSION=0.4.1-beta-SNAPSHOT
|
2019-08-20 17:19:15 +02:00
|
|
|
container_name: seb-server
|
2019-09-05 12:53:11 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
- ./config:/sebserver/config
|
|
|
|
- ./certs:/certs
|
2019-08-29 14:12:13 +02:00
|
|
|
env_file:
|
2019-09-05 12:53:11 +02:00
|
|
|
- ./config/secrets
|
2019-08-29 14:12:13 +02:00
|
|
|
environment:
|
|
|
|
- ADDITIONAL_DNS=dns:127.0.0.1,dns:seb-server
|
2019-08-20 17:19:15 +02:00
|
|
|
ports:
|
2019-08-28 14:43:14 +02:00
|
|
|
- 443:443
|
2019-08-29 14:13:43 +02:00
|
|
|
- 80:8080
|
2019-08-29 16:10:38 +02:00
|
|
|
- 9090:9090
|
2019-08-29 14:12:13 +02:00
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "200k"
|
|
|
|
max-file: "10"
|
2019-08-20 17:19:15 +02:00
|
|
|
networks:
|
|
|
|
- seb-server-network
|
|
|
|
depends_on:
|
|
|
|
- "mariadb"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
seb-server-network:
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
seb-server-mariadb-data:
|