Switch to GitHub Container Registry as source of Docker images.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-06-28 03:59:05 -05:00
parent 9dde1ea7b6
commit 8ff0c13447
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
2 changed files with 33 additions and 29 deletions

View File

@ -1,35 +1,39 @@
version: '2.2' services :
nginx_proxy :
services: build :
nginx_proxy: context : ../docker-azuracast-nginx-proxy
build: volumes :
context: ../docker-azuracast-nginx-proxy
volumes:
- ./util/local_ssl:/etc/nginx/certs - ./util/local_ssl:/etc/nginx/certs
- /var/run/docker.sock:/tmp/docker.sock:ro - /var/run/docker.sock:/tmp/docker.sock:ro
web: nginx_proxy_letsencrypt :
build: build :
context: . context : ../docker-azuracast-nginx-proxy-letsencrypt
volumes: volumes :
- /var/run/docker.sock:/tmp/docker.sock:ro
web :
build :
context : .
volumes :
- ./util/local_ssl:/etc/nginx/certs:ro - ./util/local_ssl:/etc/nginx/certs:ro
- ./vendor:/var/azuracast/www/vendor - ./vendor:/var/azuracast/www/vendor
- .:/var/azuracast/www - .:/var/azuracast/www
mariadb: mariadb :
build: build :
context: ../docker-azuracast-db context : ../docker-azuracast-db
ports: ports :
- "127.0.0.1:3306:3306" - "127.0.0.1:3306:3306"
redis: redis :
build: build :
context: ../docker-azuracast-redis context : ../docker-azuracast-redis
ports: ports :
- "127.0.0.1:6379:6379" - "127.0.0.1:6379:6379"
stations: stations :
build: build :
context: ../docker-azuracast-radio context : ../docker-azuracast-radio
volumes: volumes :
- ./util/local_ssl:/etc/nginx/certs - ./util/local_ssl:/etc/nginx/certs

View File

@ -14,7 +14,7 @@ version : '2.2'
services : services :
nginx_proxy : nginx_proxy :
container_name : nginx_proxy container_name : nginx_proxy
image : "azuracast/azuracast_nginx_proxy:${AZURACAST_VERSION:-latest}" image : "ghcr.io/azuracast/nginx_proxy:${AZURACAST_VERSION:-latest}"
ports : ports :
- '${AZURACAST_HTTP_PORT:-80}:80' - '${AZURACAST_HTTP_PORT:-80}:80'
- '${AZURACAST_HTTPS_PORT:-443}:443' - '${AZURACAST_HTTPS_PORT:-443}:443'
@ -34,7 +34,7 @@ services :
nginx_proxy_letsencrypt : nginx_proxy_letsencrypt :
container_name : nginx_proxy_letsencrypt container_name : nginx_proxy_letsencrypt
image : "azuracast/azuracast_nginx_proxy_letsencrypt:${AZURACAST_VERSION:-latest}" image : "ghcr.io/azuracast/nginx_proxy_letsencrypt:${AZURACAST_VERSION:-latest}"
volumes_from : volumes_from :
- nginx_proxy - nginx_proxy
volumes : volumes :
@ -48,7 +48,7 @@ services :
web : web :
container_name : azuracast_web container_name : azuracast_web
image : "azuracast/azuracast_web_v2:${AZURACAST_VERSION:-latest}" image : "ghcr.io/azuracast/web:${AZURACAST_VERSION:-latest}"
# Want to customize the HTTP/S ports? Follow the instructions here: # Want to customize the HTTP/S ports? Follow the instructions here:
# https://docs.azuracast.com/en/administration/docker#using-non-standard-ports # https://docs.azuracast.com/en/administration/docker#using-non-standard-ports
ports : ports :
@ -91,7 +91,7 @@ services :
mariadb : mariadb :
container_name : azuracast_mariadb container_name : azuracast_mariadb
image : "azuracast/azuracast_db:${AZURACAST_VERSION:-latest}" image : "ghcr.io/azuracast/db:${AZURACAST_VERSION:-latest}"
volumes : volumes :
- db_data:/var/lib/mysql - db_data:/var/lib/mysql
env_file : azuracast.env env_file : azuracast.env
@ -102,7 +102,7 @@ services :
redis : redis :
container_name : azuracast_redis container_name : azuracast_redis
image : "azuracast/azuracast_redis:${AZURACAST_VERSION:-latest}" image : "ghcr.io/azuracast/redis:${AZURACAST_VERSION:-latest}"
sysctls : sysctls :
net.core.somaxconn : 1024 net.core.somaxconn : 1024
volumes : volumes :
@ -114,7 +114,7 @@ services :
stations : stations :
container_name : azuracast_stations container_name : azuracast_stations
image : "azuracast/azuracast_radio:${AZURACAST_VERSION:-latest}" image : "ghcr.io/azuracast/radio:${AZURACAST_VERSION:-latest}"
ports : ports :
# This default mapping is the outgoing and incoming ports for the first 50 stations. # This default mapping is the outgoing and incoming ports for the first 50 stations.
# You can override this port mapping in your own docker-compose.override.yml file. # You can override this port mapping in your own docker-compose.override.yml file.