From 11966854136ac51f30c1145bf070eaff4654c08b Mon Sep 17 00:00:00 2001 From: tycrek Date: Tue, 12 Jul 2022 15:45:54 -0600 Subject: [PATCH] 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. --- compose.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/compose.yaml b/compose.yaml index 5ecfe03..ecf8392 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,4 +1,4 @@ -# ass Docker compose.yaml v0.1.1 +# ass Docker compose.yaml v0.2.0 # authors: # - tycrek (https://tycrek.com/) # - Zusier (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