Повторение материала и проверка знаний работников по направлениям деятельности
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.

30 lines
736 B

3 weeks ago
version: "3.7"
4 weeks ago
services:
exam-base:
build:
context: ../base
dockerfile: dockerfile
image: "exam-base"
container_name: ${PG_CONTAINER_NAME}
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
PGDATA: ${PGDATA}
volumes:
- exam-base:${PGDATA}
- exam-prebase:/var/lib/postgresql/data
3 weeks ago
- ./scripts/init-database.sh:/docker-entrypoint-initdb.d/init-database.sh
4 weeks ago
ports:
- "5430:5432"
restart: unless-stopped
volumes:
3 weeks ago
exam-base:
external: true
exam-prebase:
external: true
4 weeks ago
networks:
default:
name: exam-net
external: true
driver: bridge