services/codimd/docker-compose.yml

25 lines
605 B
YAML
Raw Normal View History

2020-06-01 09:34:42 +02:00
version: "3.8"
volumes:
codimd:
name: ${CODIMD_VOLUME_NAME}
services:
codimd:
container_name: ${CODIMD_CONTAINER_NAME}
image: ${CODIMD_IMAGE}
restart: always
depends_on:
- codimd-postgres
volumes:
- codimd:/config
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
CMD_DB_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@codimd-postgres:5432/${POSTGRES_DB}
CMD_DOMAIN: ${CODIMD_DOMAIN}
NODE_ENV: ${NODE_ENV}
CMD_PROTOCOL_USESSL: ${CMD_PROTOCOL_USESSL}
# PGID: 995
# PUID: 995