29 Jan 2023 |
Retro-Hax | this has never happened before btw :( | 20:40:11 |
Sherlock | Can you share your compose file? | 20:41:01 |
Retro-Hax | Sure | 20:42:03 |
Retro-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 |
Retro-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 |
CLHatch | Indent the external: two spaces in the second one, I think? | 20:44:50 |
CLHatch | and here is my git container docker-compose fileversion: "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 |
Retro-Hax | ah now it works but now i have even more issues D: | 20:47:39 |
Retro-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 |
CLHatch | Missing a / before data | 20:48:45 |
CLHatch | In both files | 20:49:31 |
CLHatch | Ah | 20:49:59 |
CLHatch | When editing you put the / before the : | 20:50:27 |
CLHatch | - /Drives/2TBSSD/git:/data/git/ | 20:52:40 |
Retro-Hax | oop gosh im dumb | 20:53:47 |
Retro-Hax | now everything works | 20:54:34 |
Retro-Hax | thank you so much!!!!!! :D | 20:54:40 |
CLHatch | np | 20:55:08 |
| The First Lord joined the room. | 21:39:33 |
30 Jan 2023 |
| Carkhass joined the room. | 00:54:25 |
| franner joined the room. | 03:16:04 |
| CyberHack2002 joined the room. | 09:56:53 |
Blindie | does anyone know if i can set an auto generate interval for docker swarm services in portainer? | 10:12:12 |
| dranas joined the room. | 10:12:45 |
| kush joined the room. | 15:57:13 |
| chooski joined the room. | 16:04:28 |
| Thranduel joined the room. | 20:04:27 |
| @anderson_crypt0:matrix.org joined the room. | 21:00:07 |
| @anderson_crypt0:matrix.org left the room. | 21:40:43 |
| Tux joined the room. | 22:30:27 |