Files
centurion_erp/deploy/docker-compose.yaml
Jon 6776612b66 chore: move docker-compose to deploy directory
intent of dir is that is the location for all avail deploy methods

!42 #74
2024-07-14 17:11:49 +09:30

28 lines
541 B
YAML

# docker exec -ti centurion-erp python manage.py migrate
# docker exec -ti centurion-erp python manage.py createsuperuser
version: "3.2"
services:
centurion-erp:
image: centurion-erp:dev
build:
context: ../.
dockerfile: dockerfile
container_name: centurion-erp
hostname: centurion-erp
ports:
- "8002:8000"
volumes:
- ./volumes/data:/data:rw
- ./volumes/etc/itsm:/etc/itsm:ro
restart: always
networks:
- default
- mariadb
networks:
mariadb:
external: true