mirror of https://github.com/tycrek/ass
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
953 B
34 lines
953 B
# ass Docker compose.yaml v0.1.1
|
|
# authors:
|
|
# - tycrek <t@tycrek.com> (https://tycrek.com/)
|
|
# - Zusier <zusier@pm.me> (https://github.com/Zusier)
|
|
|
|
services:
|
|
ass:
|
|
build: .
|
|
command: npm start
|
|
container_name: ass-docker
|
|
restart: unless-stopped
|
|
ports:
|
|
- "40115:40115"
|
|
volumes:
|
|
- ./uploads:/opt/ass/uploads
|
|
- ./share:/opt/ass/share
|
|
- type: bind
|
|
source: ./config.json
|
|
target: /opt/ass/config.json
|
|
- type: bind
|
|
source: ./auth.json
|
|
target: /opt/ass/auth.json
|
|
- type: bind
|
|
source: ./data.json
|
|
target: /opt/ass/data.json
|
|
tmpfs: /tmp # temp files such as uploads are stored here
|
|
working_dir: /opt/ass
|
|
tty: true
|
|
environment:
|
|
- NODE_ENV=production # for production
|
|
- ASS_ENV=docker # docker, local, production (not widely used yet)
|
|
- LOG_LEVEL=debug # debug, info, warn, error
|
|
- FORCE_COLOR=3 # force color output
|