]> git.parisson.com Git - teleforma.git/commitdiff
add staging compo
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 24 Nov 2023 08:29:46 +0000 (09:29 +0100)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 24 Nov 2023 08:29:46 +0000 (09:29 +0100)
env/staging.yml [new file with mode: 0644]

diff --git a/env/staging.yml b/env/staging.yml
new file mode 100644 (file)
index 0000000..385d87d
--- /dev/null
@@ -0,0 +1,26 @@
+version: '3'
+
+services:
+  app:
+    build:
+      context: .
+      args:
+        dev: 0
+    command: /bin/sh /srv/app/wsgi.sh
+    restart: unless-stopped
+    env_file:
+      - env/staging.env
+    volumes:
+      - /mnt/ae-videos:/srv/media
+    ports:
+      - "9011:8000"
+
+  db:
+    env_file:
+      - env/staging.env
+
+volumes:
+    app:
+    channels:
+    db:
+