Last active
October 30, 2025 14:53
-
-
Save davidostermann/0190da1e1544dfd1625e53ca8a74e258 to your computer and use it in GitHub Desktop.
Revisions
-
davidostermann revised this gist
Nov 13, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ services : ports: - "5432:5432" environment: POSTGRES_USER: user1 POSTGRES_PASSWORD: changeme POSTGRES_DB: tododb admin: -
davidostermann revised this gist
Nov 13, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ version: '3.1' services : db: image: postgres:10-alpine -
davidostermann revised this gist
Nov 6, 2017 . 1 changed file with 3 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,20 +1,17 @@ version: '2' services : db: image: postgres:10-alpine ports: - "5432:5432" environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: changeme POSTGRES_DB: tododb admin: image: adminer restart: always depends_on: - db ports: - 8080:8080 -
davidostermann revised this gist
Nov 6, 2017 . 1 changed file with 0 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,17 +1,5 @@ version: '2' services : postgres: image: postgres:10-alpine ports: -
davidostermann created this gist
Nov 6, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ version: '2' services : web : build: . command: npm start volumes: - .:/usr/app - /usr/app/node_modules ports: - "3000:3000" depends_on: - postgres environment: DATABASE_URL: postgres://postgres:changeme@postgres/tododb postgres: image: postgres:10-alpine ports: - "5432:5432" volumes: - ~/data/postgres:/data/postgres environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: changeme POSTGRES_DB: tododb PGDATA: /data/postgres adminer: image: adminer restart: always depends_on: - postgres ports: - 8080:8080