Browse Source

add docker-compose file for integration tests

master
Adrian Malacoda 3 years ago
parent
commit
96e24c4a2d
1 changed files with 31 additions and 0 deletions
  1. 31
      integration-tests/docker-compose.yaml

31
integration-tests/docker-compose.yaml

@ -0,0 +1,31 @@
version: '3'
services:
cache:
networks:
- social-net
image: memcached
redis:
networks:
- social-net
image: sameersbn/redis
mariadb:
image: mariadb
networks:
- social-net
environment:
MYSQL_ROOT_PASSWORD: toor
MYSQL_DATABASE: gitea
gitea:
image: gitea/gitea:latest
networks:
- social-net
volumes:
- ./gitea:/data
links:
- "mariadb:db"
ports:
- "3000:3000"
- "2222:22"
networks:
social-net:
driver: bridge
Loading…
Cancel
Save