Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35a59d5e authored by Thomas G.'s avatar Thomas G.
Browse files

refactor: simplify docker-compose and secure environment handling

- Remove .env from Git tracking
- Add .env to .gitignore
- Remove external network configuration
parent 2e45da01
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
.idea
files
.env
 No newline at end of file
+0 −10
Original line number Diff line number Diff line
networks:
  nextcloud-network:
    external: true

services:
  nextcloud:
    image: ${NEXTCLOUD_DOCKER_IMG}
    networks:
      - nextcloud-network
    environment:
      - POSTGRES_HOST=${DB_HOST}
      - POSTGRES_USER=${DB_USER}
@@ -38,8 +32,6 @@ services:
  nextcloud-cron:
    image: ${NEXTCLOUD_DOCKER_IMG}
    entrypoint: /cron.sh
    networks:
      - nextcloud-network
    volumes:
      - nextcloud-config:/var/www/html/config
    deploy:
@@ -49,8 +41,6 @@ services:

  nginx:
    image: ${NGINX_DOCKER_IMG}
    networks:
      - nextcloud-network
    environment:
      NEXTCLOUD_ADDR: ${NEXTCLOUD_ADDR:-nextcloud:9000}
      DOMAIN: ${DOMAIN}