You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
# For more information: https://laravel.com/docs/sail
version: '3'
services:
app:
container_name: app
build:
context: ./vendor/laravel/sail/runtimes/8.1
dockerfile: Dockerfile
args:
WWWGROUP: '${WWWGROUP}'
image: sail-8.1/app
extra_hosts:
- 'host.docker.internal:host-gateway'
ports:
- '${APP_PORT:-80}:80'
environment:
WWWUSER: '${WWWUSER}'
LARAVEL_SAIL: 1
XDEBUG_MODE: '${SAIL_XDEBUG_MODE:-off}'
XDEBUG_CONFIG: '${SAIL_XDEBUG_CONFIG:-client_host=host.docker.internal}'
volumes:
- '.:/var/www/html'
networks:
- gitea
depends_on:
- rabbit
# jenkins:
# container_name: jenkins
# build:
# context: jenkins
# dockerfile: Dockerfile
# image: akbarjimi/jenkins
# environment:
# - JENKINS_ADMIN_ID=akbarjimi
# - JENKINS_ADMIN_PASSWORD=akbarjimi
# ports:
# - 50000:50000
# - 8080:8080
# networks:
# - gitea
# dns:
# - 178.22.122.100
# - 185.51.200.2
# profiles:
# - donotstart
# gitea:
# image: gitea/gitea:1.16.0
# container_name: gitea
# environment:
# - USER_UID=1000
# - USER_GID=1000
# - GITEA__database__DB_TYPE=mysql
# - GITEA__database__HOST=db:3306
# - GITEA__database__NAME=gitea
# - GITEA__database__USER=gitea
# - GITEA__database__PASSWD=gitea
# - GITEA__webhook__ALLOWED_HOST_LIST=jenkins,172.18.0.2
# restart: always
# networks:
# - gitea
# volumes:
# # - gitea:/data
# - /etc/timezone:/etc/timezone:ro
# - /etc/localtime:/etc/localtime:ro
# ports:
# - "3000:3000"
# - "2221:22"
# depends_on:
# - db
# db:
# image: mysql:latest
# container_name: mysql
# restart: always
# environment:
# - MYSQL_ROOT_PASSWORD=gitea
# - MYSQL_USER=gitea
# - MYSQL_PASSWORD=gitea
# - MYSQL_DATABASE=gitea
# networks:
# - gitea
# pma:
# image: phpmyadmin:latest
# container_name: pma
# restart: always
# ports:
# - 8090:80
# networks:
# - gitea
rabbit:
image: rabbitmq:management
container_name: rabbit
restart: always
environment:
- RABBITMQ_ERLANG_COOKIE=SWQOKODSQALRPCLNMEQG
- RABBITMQ_DEFAULT_USER=root
- RABBITMQ_DEFAULT_PASS=root
- RABBITMQ_DEFAULT_VHOST=/
ports:
- 5067:5067
- 15672:15672
# command: rabbitmqadmin -uroot -proot import /etc/rabbitmq/definitions.json
volumes:
- ./definitions.json:/etc/rabbitmq/definitions.json:ro
networks:
- gitea
networks:
gitea:
driver: bridge
external: false
|