summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Kohl2024-10-19 12:38:04 +0200
committerJonas Kohl2024-10-19 12:38:04 +0200
commit52d5037c3b062d00be616ceb66ba08769e3393fd (patch)
treec177de667bb82b2503c94b686e775e8c2bdca296
parent5f946713ae499ee557361793b05543be29eb5026 (diff)
Changes to docker compose
-rw-r--r--compose.dev.yml2
-rw-r--r--compose.override.yml4
-rw-r--r--compose.yml2
3 files changed, 6 insertions, 2 deletions
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