- добавлен gin-gonic - перетасованы пакет - добавлен первый репозиторий - handlers теперь возвращают собственную ошибку
34 lines
804 B
YAML
34 lines
804 B
YAML
services:
|
|
|
|
site:
|
|
container_name: pink_fox-site
|
|
build:
|
|
context: ./services/site
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "12001:12001"
|
|
- "12002:2345"
|
|
volumes:
|
|
- ./pink_fox_app:/app
|
|
- ./pink_fox_app/log:/var/log/pink_fox
|
|
- ./dist:/dist
|
|
- ./environment:/var/environment/pink_fox
|
|
- ./.storage/go:/go
|
|
environment:
|
|
- TZ=Europe/Moscow
|
|
- ARG1
|
|
|
|
postgres:
|
|
image: postgres:16
|
|
environment:
|
|
- POSTGRES_USER=pink_fox
|
|
- POSTGRES_PASSWORD=pink_fox_pass
|
|
- TZ=Europe/Moscow
|
|
- PGTZ=Europe/Moscow
|
|
volumes:
|
|
- ./.storage/postgres:/var/lib/postgresql/data
|
|
- ./services/postgres/data:/var/backups/postgres
|
|
- ./services/postgres/init:/docker-entrypoint-initdb.d
|
|
ports:
|
|
- "12003:5432"
|