diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..ced718e --- /dev/null +++ b/compose.yml @@ -0,0 +1,57 @@ +--- +networks: + frontend: + driver: bridge + backend: + driver: bridge + local: + driver: host +volumes: + gitea.vol: + opengist.vol: + # grocy.vol: +services: + gitea: + image: docker.gitea.com/gitea:latest + container_name: gitea + environment: + - USER_UID=$(id -u $USER) + - USER_GID=$(id -u $USER) + restart: always + networks: + - gitea + volumes: + - gitea.vol:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + ports: + - 3000:3000 + - 2222:2222 + grocy: + image: lscr.io/linuxserver/grocy:latest + container_name: grocy + environment: + - PUID=$(id -u $USER) + - PGID=$(id -u $USER) + - TZ=Etc/UTC + volumes: + # - grocy.vol:/data + - ~/.config/grocy:/config + - /etc/timezone:/etc/timezone:ro + ports: + - 9283:9283 + restart: unless-stopped + opengist: + image: ghcr.io/thomiceli/opengist:latest + container_name: opengist + restart: unless-stopped + ports: + - 6157:6157 + - 2222:2223 + volumes: + - opengist.vol:/opengist + - ~/.config/opengist/config.yml:/config.yml" + environment: + OG_SSH_PORT: 22 + UID: $(id -u $USER) + GID: $(id -u $USER) \ No newline at end of file diff --git a/gitea/compose.yml b/gitea/compose.yml deleted file mode 100644 index fe87835..0000000 --- a/gitea/compose.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -volumes: - gitea.vol: -services: - gitea: - image: docker.gitea.com/gitea:1.25.2 - container_name: gitea - environment: - - USER_UID=$(id -u $USER) - - USER_GID=$(id -u $USER) - restart: always - networks: - - gitea - volumes: - - gitea.vol:/data - - /etc/timezone:/etc/timezone:ro - - /etc/localtime:/etc/localtime:ro - ports: - - 3000:3000 - - 2222:2222 \ No newline at end of file diff --git a/grocy/compose.yml b/grocy/compose.yml deleted file mode 100644 index ff719c8..0000000 --- a/grocy/compose.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -# volumes: -# grocy.vol: -services: - grocy: - image: lscr.io/linuxserver/grocy:latest - container_name: grocy - environment: - - PUID=$(id -u $USER) - - PGID=$(id -u $USER) - - TZ=Etc/UTC - volumes: - # - grocy.vol:/data - - ~/.config/grocy:/config - - /etc/timezone:/etc/timezone:ro - ports: - - 9283:9283 - restart: unless-stopped diff --git a/opengist/compose.yml b/opengist/compose.yml deleted file mode 100644 index 0e3dbbc..0000000 --- a/opengist/compose.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -volumes: - opengist.vol: -services: - opengist: - image: ghcr.io/thomiceli/opengist:1.11.1 - container_name: opengist - restart: unless-stopped - ports: - - 6157:6157 - - 2222:2223 - volumes: - - opengist.vol:/opengist - - ~/.config/opengist/config.yml:/config.yml" - environment: - OG_SSH_PORT: 22 - UID: $(id -u $USER) - GID: $(id -u $USER) \ No newline at end of file