diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2022-02-07 14:22:08 +0200 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2022-02-07 14:22:08 +0200 |
| commit | 7a0f65385189cc6e888027d5f286794e07a6fe2a (patch) | |
| tree | eb523e6a2faf2685a653fb0ada622706c5a68e5b /docker-compose.yml | |
Initial commit
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..047c9d3 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,22 @@ +version: '3' + +services: + db: + image: postgres:14-alpine + environment: + POSTGRES_PASSWORD: postgres + ports: + - 54321:5432 + volumes: + - dbdata:/var/lib/postgresql/data + api: + build: . + image: eu.gcr.io/slam-lang/slam-example-api + environment: + PORT: 3000 + PGHOST: db + ports: + - 3000:3000 + +volumes: + dbdata: |
