🧑‍💻 split dockercompose into dev and deploy

Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
Sindre Kjelsrud 2024-05-02 16:34:55 +02:00
parent 3885501b61
commit 72c060bc3e
Signed by untrusted user who does not match committer: sidski
GPG key ID: D2BBDF3EDE6BA9A6
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,20 @@
version: "3.9"
services:
postgres:
image: postgres:14-alpine
ports:
- 5432:5432
volumes:
- ~/apps/postgres:/var/lib/postgresql/data
env_file:
- .env
ginapi:
build:
context: .
dockerfile: Dockerfile
image: helseveileder
ports:
- 8080:8080
depends_on:
- postgres