alice-lg/dev/compose.yml

39 lines
748 B
YAML
Raw Permalink Normal View History

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:
2022-06-16 11:36:50 +00:00
build:
dockerfile: Containerfile
context: containers/ui/
volumes:
- ../ui:/ui
2022-06-16 11:36:50 +00:00
environment:
DANGEROUSLY_DISABLE_HOST_CHECK: "true"
ports:
2022-03-15 18:13:27 +01:00
- 3000:3000
command:
2022-03-15 17:49:26 +01:00
- start
2022-03-15 18:11:27 +01:00
backend:
build:
dockerfile: dev/containers/backend/Containerfile
context: ../.
volumes:
- ../.:/src/alice-lg
ports:
- 7340:7340
2022-06-24 16:53:23 +02:00
extra_hosts:
- "host.docker.internal:host-gateway"