mirror of https://github.com/tycrek/ass.git
Removed two unnecessary (I fucking hate that word) compose rules*
*As per the [Compose spec](https://compose-spec.io/), [`command`](https://github.com/compose-spec/compose-spec/blob/master/spec.md#command) and [`working_dir`](https://github.com/compose-spec/compose-spec/blob/master/spec.md#working_dir) are only there to **override** Dockerfile, which has the same values.
This commit is contained in:
parent
f47dedc595
commit
1196685413
|
@ -1,4 +1,4 @@
|
|||
# ass Docker compose.yaml v0.1.1
|
||||
# ass Docker compose.yaml v0.2.0
|
||||
# authors:
|
||||
# - tycrek <t@tycrek.com> (https://tycrek.com/)
|
||||
# - Zusier <zusier@pm.me> (https://github.com/Zusier)
|
||||
|
@ -6,7 +6,6 @@
|
|||
services:
|
||||
ass:
|
||||
build: .
|
||||
command: npm start
|
||||
container_name: ass-docker
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
|
@ -24,7 +23,6 @@ services:
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue