seb-server/docker/prod/standalone/selfsigned/docker-compose.yml
2019-08-26 16:54:23 +02:00

56 lines
No EOL
1.3 KiB
YAML

version: '3'
services:
selfsigned:
build:
context: ./gencerts
dockerfile: Dockerfile
container_name: gencerts
volumes:
- ./certs:/certs
environment:
- KEYSTORE_PWD=somePW
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:
- MYSQL_ROOT_PASSWORD=somePW
ports:
- 3306:3306
networks:
- seb-server-network
depends_on:
- "selfsigned"
seb-server:
build:
context: .
args:
- GIT_TAG=
- SEBSERVER_VERSION=0.4.1-beta-SNAPSHOT
container_name: seb-server
environment:
- SERVER_ADDRESS=0.0.0.0
- SERVER_PORT=80
- DBSERVER_ADDRESS=seb-server-mariadb
- DBSERVER_PORT=3306
- DBSERVER_PWD=somePW
- GUICLIENT_PWD=somePW
- INTERNAL_PWD=somePW
- KEYSTORE_PWD=somePW
ports:
- 80:80
networks:
- seb-server-network
depends_on:
- "mariadb"
networks:
seb-server-network:
volumes:
seb-server-mariadb-data: