forked from tycrek/ass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
35 lines (34 loc) · 1.23 KB
/
compose.yaml
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
27
28
29
30
31
32
33
34
35
# ass Docker compose.yaml v0.2.0
# authors:
# - tycrek <[email protected]> (https://tycrek.com/)
# - Zusier <[email protected]> (https://github.com/Zusier)
#
# 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)
services:
ass:
build: .
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
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