services: site: container_name: pink_fox-site build: context: ./services/site dockerfile: Dockerfile ports: - "12001:12001" - "12002:2345" volumes: - ./application:/app - ./application/log:/var/log/pink_fox - ./environment:/var/environment/pink_fox - ./.storage/go:/go environment: - TZ=Europe/Moscow - ARG1 postgres: image: postgres:16 environment: - POSTGRES_USER=pink_fox - POSTGRES_PASSWORD=${DB_PASSWORD} - 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" postgres_test: image: postgres:16 environment: - POSTGRES_USER=pink_fox - POSTGRES_PASSWORD=${DB_PASSWORD} - TZ=Europe/Moscow - PGTZ=Europe/Moscow volumes: - ./services/postgres/init-test:/docker-entrypoint-initdb.d tmpfs: - /var/lib/postgresql/data ports: - "12004:5432"