Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
version: '3.7'
services:
# db:
# image: postgres:11
# volumes:
# - ./${DATABASE_DATA_DIR}:${DATABASE_DATA_DIR_IN_CONTAINER}
# container_name: ${DB_CONTAINER}
# user: ${USER}:${GROUP}
# environment:
# # postgres data dir
# - PGDATA=${DATABASE_DATA_DIR_IN_CONTAINER}
# # postgres user
# - POSTGRES_USER=postgres
# eoa-django
webserver:
# depends_on:
# - db
build: .
image: ${WEB_SERVER_IMAGE}
container_name: ${WEB_SERVER_CONTAINER}
command: python3 manage.py runserver 0.0.0.0:8000
volumes:
- ./${SRC_DIR}:${SRC_DIR_IN_CONTAINER}
- ./${RES_DIR_RUNTIME}:${RES_DIR_IN_CONTAINER}
working_dir: ${SRC_DIR_IN_CONTAINER}
environment:
- INSTALL_DIR=${SRC_DIR_IN_CONTAINER}
- RES_DIR=${RES_DIR_IN_CONTAINER}
ports:
- "8001:8000"
user: ${USER}:${GROUP}