26 lines
747 B
YAML
26 lines
747 B
YAML
# Version 2 is the latest that is supported by docker-compose in
|
|
# Ubuntu Xenial.
|
|
version: '2'
|
|
|
|
services:
|
|
mariadb:
|
|
image: docker.io/library/mariadb:10.4
|
|
restart: always
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: "secret"
|
|
MYSQL_DATABASE: "refstack"
|
|
MYSQL_USER: "refstack"
|
|
MYSQL_PASSWORD: "refstack"
|
|
refstack-api:
|
|
depends_on:
|
|
- mariadb
|
|
image: opendevorg/refstack:latest
|
|
restart: always
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
# These paths must be fully rooted apparently. Update them to your
|
|
# repo location.
|
|
- /home/clark/src/openstack/refstack/docker/refstack.conf:/etc/refstack.conf
|
|
- /home/clark/src/openstack/refstack/docker/config.json:/refstack-ui/app/config.json
|