Created
December 23, 2023 21:01
-
-
Save Stepami/ebd78f7ba06164c43c88d00036d0a1a0 to your computer and use it in GitHub Desktop.
HW2 CS2023 Minin Stepan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
services: | |
todo-app: | |
image: my-todo-app-hse-cs-2023:latest | |
restart: unless-stopped | |
depends_on: | |
- pgdb | |
ports: | |
- 3000:3000 | |
environment: | |
PGHOST: pgdb | |
PGUSER: postgres | |
PGPASSWORD: postgres | |
PGDATABASE: todos | |
pgdb: | |
image: postgres:latest | |
volumes: | |
- todo-pgsql-data:/var/lib/postgresql | |
environment: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: todos | |
volumes: | |
todo-pgsql-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment