2019-08-20 17:19:15 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
selfsigned:
|
|
|
|
build:
|
|
|
|
context: ./gencerts
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
container_name: gencerts
|
|
|
|
volumes:
|
|
|
|
- ./certs:/certs
|
|
|
|
environment:
|
2019-08-27 09:13:33 +02:00
|
|
|
- KEYSTORE_PWD=[SET_PWD]
|
2019-08-20 17:19:15 +02:00
|
|
|
|
|
|
|
mariadb:
|
|
|
|
image: "mariadb/server:10.3"
|
|
|
|
container_name: seb-server-mariadb
|
|
|
|
volumes:
|
|
|
|
- .:/etc/mysql/conf.d
|
|
|
|
- ./certs:/etc/mysql/certs
|
|
|
|
- seb-server-mariadb-data:/var/lib/mysql
|
|
|
|
environment:
|
2019-08-27 09:13:33 +02:00
|
|
|
- MYSQL_ROOT_PASSWORD=[SET_PWD]
|
2019-08-20 17:19:15 +02:00
|
|
|
ports:
|
|
|
|
- 3306:3306
|
|
|
|
networks:
|
|
|
|
- seb-server-network
|
|
|
|
depends_on:
|
|
|
|
- "selfsigned"
|
|
|
|
|
|
|
|
seb-server:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
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-08-27 09:13:33 +02:00
|
|
|
volumes:
|
2019-08-27 09:50:09 +02:00
|
|
|
- .:/config
|
2019-08-20 17:19:15 +02:00
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
networks:
|
|
|
|
- seb-server-network
|
|
|
|
depends_on:
|
|
|
|
- "mariadb"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
seb-server-network:
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
seb-server-mariadb-data:
|