2022-07-12 21:45:54 +00:00
# ass Docker compose.yaml v0.2.0
2021-07-13 22:56:17 +00:00
# authors:
# - tycrek <t@tycrek.com> (https://tycrek.com/)
# - Zusier <zusier@pm.me> (https://github.com/Zusier)
2022-07-12 21:55:22 +00:00
#
# This file is designed to follow the latest Compose specification, defined here: https://github.com/compose-spec/compose-spec/blob/master/spec.md
# Specific thing(s) to note:
# - The filename, `compose.yaml`: "The default path for a Compose file is compose.yaml (preferred)" (https://github.com/compose-spec/compose-spec/blob/master/spec.md#compose-file)
2021-07-13 22:56:17 +00:00
services :
2021-07-13 23:05:11 +00:00
ass :
build : .
container_name : ass-docker
restart : unless-stopped
ports :
2021-07-14 17:34:04 +00:00
- "40115:40115"
2021-07-13 23:05:11 +00:00
volumes :
2021-07-14 17:57:30 +00:00
- ./uploads:/opt/ass/uploads
- ./share:/opt/ass/share
2021-07-14 17:55:30 +00:00
- 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
2021-07-14 05:27:57 +00:00
tmpfs : /tmp # temp files such as uploads are stored here
2021-07-14 00:27:23 +00:00
tty : true
environment :
2021-07-14 05:27:57 +00:00
- NODE_ENV=production # for production
- ASS_ENV=docker # docker, local, production (not widely used yet)
- LOG_LEVEL=debug # debug, info, warn, error
2021-09-20 13:49:28 +00:00
- FORCE_COLOR=3 # force color output