seb-server/docker/demo/docker-compose.yml
2019-08-21 09:53:29 +02:00

41 lines
No EOL
952 B
YAML

version: '3'
services:
mariadb:
image: "mariadb/server:10.3"
container_name: seb-server-mariadb
volumes:
- seb-server-mariadb-data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=[TO SET]
ports:
- 3306:3306
networks:
- ralph
seb-server:
build:
context: .
args:
- GIT_TAG=
- SEBSERVER_VERSION=0.4.0-SNAPSHOT
container_name: seb-server
environment:
- SERVER_ADDRESS=0.0.0.0
- SERVER_PORT=8080
- DBSERVER_ADDRESS=seb-server-mariadb
- DBSERVER_PORT=3306
- ENV DBSERVER_PWD=[TO SET]
- ENV GUICLIENT_PWD=[TO SET]
- ENV INTERNAL_PWD=[TO SET]
ports:
- 8080:8080
networks:
- ralph
depends_on:
- "mariadb"
networks:
ralph:
volumes:
seb-server-mariadb-data: