Skip to content

Commit

Permalink
ci: add docker.compose.main.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ledouxm committed Jun 12, 2024
1 parent 189bd3c commit 87442c8
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions ci/docker-compose.main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: "3.1"

volumes:
pg_data:

services:
frontend:
image: ghcr.io/betagouv/compte-rendu-vif-main-frontend:latest
restart: always
depends_on:
- electric

backend:
image: ghcr.io/betagouv/compte-rendu-vif-main-backend:latest
restart: always
depends_on:
- electric

pg:
image: postgres:14-alpine
command:
- -c
- wal_level=logical
restart: always
volumes:
- pg_data:/var/lib/postgresql/data
- ./db/init/:/docker-entrypoint-initdb.d

electric:
image: electricsql/electric:0.11.1
depends_on:
- pg
restart: always

adminer:
image: adminer
restart: always

0 comments on commit 87442c8

Please sign in to comment.