diff --git a/docker-compose.yml b/docker-compose.yml index 4423157..603c4ed 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: # These ports are in format : - '80:80' # Public HTTP Port - '443:443' # Public HTTPS Port - - '127.0.0.1:8080:81' # Admin Web Port + - '8080:81' # Admin Web Port # Add any other Stream port you want to expose # - '21:21' # FTP # Uncomment the next line if you uncomment anything in the section @@ -39,7 +39,7 @@ services: - ./mongo/:/data/db restart: unless-stopped -#MySQL (3306) + phpMyAdmin (8081) +#MySQL (3306) + phpMyAdmin () mysql: image: "mysql" container_name: MySQL @@ -57,31 +57,37 @@ services: container_name: phpMyAdmin environment: PMA_HOST: mysql - ports: - - "127.0.0.1:8081:80" restart: unless-stopped depends_on: - mysql -#Bitwarden rs (8082) +#Bitwarden rs () bitwarden: image: "vaultwarden/server:latest" container_name: vaultwarden - ports: - - "127.0.0.1:8082:80" volumes: - ./bitwarden/:/data/ restart: unless-stopped -#gitea (8083) +#gitea (222) gitea: image: gitea/gitea:latest container_name: gitea environment: + - APP_NAME="gitea" - USER_UID=1000 - USER_GID=1000 + - USER=git + - RUN_MODE=prod + - DOMAIN=git.luke-else.co.uk + - SSH_DOMAIN=git.luke-else.co.uk + - HTTP_PORT=3000 + - ROOT_URL=https://git.luke-else.co.uk + - SSH_PORT=222 + - SSH_LISTEN_PORT=22 + - DB_TYPE=sqlite3 ports: - - "127.0.0.1:8083:3000" + - "222:22" volumes: - ./gitea:/data - /etc/timezone:/etc/timezone:ro @@ -92,8 +98,6 @@ services: luke-else.co.uk: image: "php:apache" container_name: luke-else.co.uk - ports: - - "127.0.0.1:8000:80" volumes: - ./luke-else.co.uk/:/var/www/html restart: unless-stopped @@ -101,8 +105,6 @@ services: snexo.co.uk: image: "php:apache" container_name: snexo.co.uk - ports: - - "127.0.0.1:8001:80" volumes: - ./snexo.co.uk/:/var/www/html restart: unless-stopped