From 52d5037c3b062d00be616ceb66ba08769e3393fd Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Sat, 19 Oct 2024 12:38:04 +0200 Subject: Changes to docker compose --- compose.dev.yml | 2 ++ compose.override.yml | 4 ++++ compose.yml | 2 -- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 compose.override.yml diff --git a/compose.dev.yml b/compose.dev.yml index 7403b30..05d6c3c 100644 --- a/compose.dev.yml +++ b/compose.dev.yml @@ -3,6 +3,8 @@ services: build: context: ./ target: dev + ports: + - 8313:80 volumes: - "./src/:/var/www/html/:ro" admin: diff --git a/compose.override.yml b/compose.override.yml new file mode 100644 index 0000000..bc279bf --- /dev/null +++ b/compose.override.yml @@ -0,0 +1,4 @@ +services: + app: + ports: !override + - 127.0.0.1:8313:80 diff --git a/compose.yml b/compose.yml index 00fb93d..a1c1739 100644 --- a/compose.yml +++ b/compose.yml @@ -7,8 +7,6 @@ services: env_file: ./.env depends_on: - db - ports: - - 127.0.0.1:8313:80 db: image: postgres:16 restart: unless-stopped -- cgit v1.2.3