This repository has been archived on 2025-12-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
shopping-lists/docker-compose.yml
AndrewTrieu 08128374c1 First commit
2022-12-27 19:38:34 +02:00

43 lines
910 B
YAML

version: "3.4"
services:
shopping-lists:
build: shopping-lists
image: shopping-lists
restart: "no"
volumes:
- ./shopping-lists/:/app
ports:
- 7777:7777
depends_on:
- database
- flyway
env_file:
- project.env
database:
container_name: database-p1-e8774b8e-c7a9-4cce-a779-3b59be02206d
image: postgres:14.1
restart: "no"
env_file:
- project.env
flyway:
image: flyway/flyway:8.4.0-alpine
depends_on:
- database
volumes:
- .:/flyway/sql
command: -connectRetries=60 -baselineOnMigrate=true migrate
env_file:
- project.env
e2e-playwright:
entrypoint: "/bin/true" # Prevent startup on docker-compose up
build: e2e-playwright
image: e2e-playwright
network_mode: host
depends_on:
- shopping-lists
volumes:
- ./e2e-playwright/tests:/e2e-playwright/tests