You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
docker-bibliogram/docker-compose.yml

40 lines
743 B

version: '3'
services:
nginx:
build:
context: nginx/.
args:
- IMAGE=${NGINX_IMG:-nginx}
- TAG=${NGINX_TAG:-alpine}
container_name: ${NGINX_CONTAINER_NAME:-bibliogram-nginx}
restart: ${NGINX_RESTART:-unless-stopped}
expose:
- 80
env_file:
- nginx.env
networks:
- default
- bibliogram
bibliogram:
build:
context: bibliogram/
container_name: ${BG_CONTAINER_NAME:-bibliogram}
restart: ${BG_RESTART:-unless-stopped}
expose:
- "10407"
volumes:
- db:/app/db
- ./config.js:/app/config.js
networks:
- bibliogram
volumes:
db:
networks:
default:
external:
name: ${NETWORK:-webservices}
bibliogram: