3 changed files with 25 additions and 6 deletions
@ -0,0 +1,23 @@ |
|||||
|
version: '3' |
||||
|
services: |
||||
|
couch: |
||||
|
restart: always |
||||
|
build: couchdb |
||||
|
ports: |
||||
|
- "127.0.0.1:5984:5984" |
||||
|
environment: |
||||
|
- "COUCHDB_USER" |
||||
|
- "COUCHDB_PASSWORD" |
||||
|
- "COUCHDB_NAME" |
||||
|
web: |
||||
|
restart: always |
||||
|
build: app |
||||
|
ports: |
||||
|
- "127.0.0.1:6969:6969" |
||||
|
network_mode: host |
||||
|
depends_on: |
||||
|
- "couch" |
||||
|
environment: |
||||
|
- "COUCHDB_USER" |
||||
|
- "COUCHDB_PASSWORD" |
||||
|
- "COUCHDB_NAME" |
Loading…
Reference in new issue