Browse Source

EXPERIMENTAL: use dockerhub app image instead of building locally

Andrew Dolgov 8 months ago
parent
commit
0439b0c2cb
1 changed files with 14 additions and 12 deletions
  1. 14 12
      docker-compose.yml

+ 14 - 12
docker-compose.yml

@@ -14,12 +14,13 @@ services:
       - POSTGRES_USER=${POSTGRES_USER}
 
   app:
-    build: 
-      context:
-        ./app
-      args:
-        - OWNER_UID=${OWNER_UID}
-        - OWNER_GID=${OWNER_GID}
+    image: cthulhoo/ttrss-fpm-pgsql-static
+#    build: 
+#      context:
+#        ./app
+#      args:
+#        - OWNER_UID=${OWNER_UID}
+#        - OWNER_GID=${OWNER_GID}
     restart: unless-stopped
     environment:
       - DB_TYPE=pgsql
@@ -36,12 +37,13 @@ services:
       - db
 
   updater:
-    build:
-      context:
-        ./app
-      args:
-        - OWNER_UID=${OWNER_UID}
-        - OWNER_GID=${OWNER_GID}
+    image: cthulhoo/ttrss-fpm-pgsql-static
+#    build: 
+#      context:
+#        ./app
+#      args:
+#        - OWNER_UID=${OWNER_UID}
+#        - OWNER_GID=${OWNER_GID}
     restart: unless-stopped
     environment:
       - DB_TYPE=pgsql