Page MenuHomeSealhub

docker-compose.yml
No OneTemporary

docker-compose.yml

version: '3.2'
services:
db:
image: mongo:3.4-jessie
volumes:
- type: volume
source: mongo_db
target: /data/db
volume:
nocopy: true
- type: volume
source: mongo_configdb
target: /data/configdb
volume:
nocopy: true
ports:
- "127.0.0.1:<<mongo_external_port>>:27017"
app:
image: <<project_name>>-app:latest
build:
context: .
dockerfile: app.dockerfile
volumes:
- type: bind
source: ./
target: /opt/<<project_name>>
ports:
- "127.0.0.1:<<app_port>>:<<app_port>>"
user: ${UID:-1000}:${GID:-1000}
webserver:
image: <<project_name>>-webserver:latest
build:
context: .
dockerfile: webserver.dockerfile
ports:
- "127.0.0.1:<<nginx_http_port>>:<<nginx_http_port>>"
- "127.0.0.1:<<nginx_https_port>>:<<nginx_https_port>>"
volumes:
mongo_db:
mongo_configdb:

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 01:18 (21 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
556994
Default Alt Text
docker-compose.yml (951 B)

Event Timeline