!LrhZGNrgZLXpQFlGHI:matrix.org

docker-troubleshooting

667 Members
Troubleshooting docker installs for Audiobookshelf3 Servers

Load older messages


SenderMessageTime
29 Jan 2023
@retrodariogaming:matrix.orgRetro-Haxthis has never happened before btw :(20:40:11
@_discord_604595099157921792:t2bot.ioSherlock Can you share your compose file? 20:41:01
@retrodariogaming:matrix.orgRetro-HaxSure20:42:03
@retrodariogaming:matrix.orgRetro-Hax

here is my docker-compose file for the nginx container

version: "3"
services:
  swag:
    image: lscr.io/linuxserver/swag:latest
    container_name: swag
    networks:
      - gitea_bridge
    cap_add:
      - NET_ADMIN
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
      - URL=retro-hax.net
      - SUBDOMAINS=gitea,
      - VALIDATION=http
      - CERTPROVIDER=letsencrypt
    volumes:
      - /opt/swag_data/config:/config
    ports:
      - 443:443
      - 80:80
    restart: unless-stopped

networks:
  gitea_bridge:
    name: gitea_gitea
    external: true
20:42:57
@retrodariogaming:matrix.orgRetro-Hax

and here is my git container docker-compose file

version: "3"

services:
  server:
    image: codeberg.org/forgejo/forgejo:1.18.2-1
    container_name: gitea
    environment:
      - PUID=1001
      - PGID=1001
    restart: always
    networks:
    - gitea_gitea
    volumes:
      - /opt/gitea_data:/data
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
      - /Drives/2TBSSD/git/:data/git/
    ports:
      - "3000:3000"
      - "222:22"

networks:
  gitea_gitea:
  external: true
20:43:23
@_discord_339243321530515458:t2bot.ioCLHatch Indent the external: two spaces in the second one, I think? 20:44:50
@_discord_339243321530515458:t2bot.ioCLHatch and here is my git container docker-compose file
version: "3"

services:
  server:
    image: codeberg.org/forgejo/forgejo:1.18.2-1
    container_name: gitea
    environment:
      - PUID=1001
      - PGID=1001
    restart: always
    networks:
    - gitea_gitea
    volumes:
      - /opt/gitea_data:/data
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
      - /Drives/2TBSSD/git/:data/git/
    ports:
      - "3000:3000"
      - "222:22"

networks:
  gitea_gitea:
    external: true
20:47:36
@retrodariogaming:matrix.orgRetro-Haxah now it works but now i have even more issues D:20:47:39
@retrodariogaming:matrix.orgRetro-Hax
ERROR: for gitea  Cannot create container for service server: invalid volume specification: '/Drives/2TBSSD/git:data/git:rw': invalid mount config for type "bind": invalid mount path: 'data/git' mount path must be absolute

ERROR: for server  Cannot create container for service server: invalid volume specification: '/Drives/2TBSSD/git:data/git:rw': invalid mount config for type "bind": invalid mount path: 'data/git' mount path must be absolute
ERROR: Encountered errors while bringing up the project.

20:47:58
@_discord_339243321530515458:t2bot.ioCLHatch Missing a / before data 20:48:45
@_discord_339243321530515458:t2bot.ioCLHatch In both files 20:49:31
@_discord_339243321530515458:t2bot.ioCLHatch Ah 20:49:59
@_discord_339243321530515458:t2bot.ioCLHatch When editing you put the / before the : 20:50:27
@_discord_339243321530515458:t2bot.ioCLHatch - /Drives/2TBSSD/git:/data/git/ 20:52:40
@retrodariogaming:matrix.orgRetro-Haxoop gosh im dumb20:53:47
@retrodariogaming:matrix.orgRetro-Haxnow everything works20:54:34
@retrodariogaming:matrix.orgRetro-Haxthank you so much!!!!!! :D20:54:40
@_discord_339243321530515458:t2bot.ioCLHatch np 20:55:08
@_discord_1069370552021692607:t2bot.ioThe First Lord joined the room.21:39:33
30 Jan 2023
@_discord_406204727366385674:t2bot.ioCarkhass joined the room.00:54:25
@_discord_723598331145617508:t2bot.iofranner joined the room.03:16:04
@_discord_1033011947945345177:t2bot.ioCyberHack2002 joined the room.09:56:53
@_discord_216865952988397568:t2bot.ioBlindie does anyone know if i can set an auto generate interval for docker swarm services in portainer? 10:12:12
@_discord_191444753013932033:t2bot.iodranas joined the room.10:12:45
@_discord_156610448148529152:t2bot.iokush joined the room.15:57:13
@_discord_123647190093660162:t2bot.iochooski joined the room.16:04:28
@_discord_102216640720023552:t2bot.ioThranduel joined the room.20:04:27
@anderson_crypt0:matrix.org@anderson_crypt0:matrix.org joined the room.21:00:07
@anderson_crypt0:matrix.org@anderson_crypt0:matrix.org left the room.21:40:43
@_discord_637224927484968961:t2bot.ioTux joined the room.22:30:27

There are no newer messages yet.


Back to Room List