1
0
mirror of https://github.com/alice-lg/alice-lg.git synced 2024-05-11 05:55:03 +00:00
alice-lg-alice-lg/dev/compose.yml
Annika Hannig e67aaa2ee8 access host
2022-06-24 16:53:23 +02:00

39 lines
752 B
YAML

version: "3.7"
# Composefile for developing with alice. A postgres server
# and the ui live dev server are started.
services:
db:
image: postgres:12
environment:
POSTGRES_USER: alice
POSTGRES_PASSWORD: alice
POSTGRES_DB: alice
ports:
- 5432:5432
ui:
build:
dockerfile: Containerfile
context: containers/ui/
volumes:
- ../pkg/ui:/ui
environment:
DANGEROUSLY_DISABLE_HOST_CHECK: "true"
ports:
- 3000:3000
command:
- start
backend:
build:
dockerfile: dev/containers/backend/Containerfile
context: ../.
volumes:
- ../.:/src/alice-lg
ports:
- 7340:7340
extra_hosts:
- "host.docker.internal:host-gateway"