-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdocker-compose.setup.yml
More file actions
26 lines (24 loc) · 913 Bytes
/
docker-compose.setup.yml
File metadata and controls
26 lines (24 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
version: '2'
volumes:
adaptdata:
external:
name: authoring_adaptdata
services:
setup:
# build: .
image: ${REGISTRY:-pvadimr/adaptauthoring:${TAG:-latest}
container_name: adaptauthoring
# extends:
# file: docker-compose.yml
# service: authoring
# volumes_from:
# - adaptauthoring
volumes:
- adaptdata:/adapt_authoring
external_links:
- adaptdb
command: node install --install Y --serverPort 5000 --serverName localhost --dbHost adaptdb --dbName adapt-tenant-master --dbPort 27017 --dataRoot data --sessionSecret your-session-secret --useffmpeg Y --smtpService dummy --smtpUsername smtpUser --smtpPassword smtpPass --fromAddress you@example.com --name master --displayName Master --email ${ADMIN_EMAIL} --password ${ADMIN_PASSWORD} # && node upgrade --Y/n Y
upgrade:
extends:
service: setup
command: node upgrade --Y/n Y