diff options
-rw-r--r-- | compose.dev.yml | 2 | ||||
-rw-r--r-- | compose.override.yml | 4 | ||||
-rw-r--r-- | compose.yml | 2 |
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 |