]> Untitled Git - lemmy.git/commitdiff
Updating dev docker-compose.
authorDessalines <tyhou13@gmx.com>
Mon, 31 Aug 2020 18:39:01 +0000 (13:39 -0500)
committerDessalines <tyhou13@gmx.com>
Mon, 31 Aug 2020 18:39:01 +0000 (13:39 -0500)
docker/dev/docker-compose.yml
docker/dev/docker_update.sh

index 257ad6c63b0eb44421cee47b581dfbff8e7713c4..41902fe32bfaa05d6adf6903efdce730253a0531 100644 (file)
@@ -7,7 +7,7 @@ services:
       context: ../../
       dockerfile: docker/dev/Dockerfile
     ports:
-      - "127.0.0.1:8536:8536"
+      - "8536:8536"
     restart: always
     environment:
       - RUST_LOG=debug
@@ -22,7 +22,7 @@ services:
     image: postgres:12-alpine
     ports:
       # use a different port so it doesnt conflict with postgres running on the host
-      - "127.0.0.1:5433:5432"
+      - "5433:5432"
     environment:
       - POSTGRES_USER=lemmy
       - POSTGRES_PASSWORD=password
@@ -34,7 +34,7 @@ services:
   pictrs:
     image: asonix/pictrs:v0.1.13-r0
     ports: 
-      - "127.0.0.1:8537:8080"
+      - "8537:8080"
     user: 991:991
     volumes:
       - ./volumes/pictrs:/mnt
@@ -43,7 +43,7 @@ services:
   iframely:
     image: dogbin/iframely:latest
     ports:
-      - "127.0.0.1:8061:80"
+      - "8061:80"
     volumes:
       - ../iframely.config.local.js:/iframely/config.local.js:ro
     restart: always
index 21e92ba88f811a6a8035815b80fc714a02731d07..26de36c864e6109b13098fb21b10fdc72ba6cd10 100755 (executable)
@@ -3,4 +3,5 @@ set -e
 
 export COMPOSE_DOCKER_CLI_BUILD=1
 export DOCKER_BUILDKIT=1
-docker-compose up -d --no-deps --build
+sudo chown -R 991:991 volumes/pictrs
+sudo docker-compose up -d --no-deps --build