docker-compose.yml 159 B

12345678910111213
  1. web:
  2. build: .
  3. links:
  4. - mysql
  5. ports:
  6. - "3000:3000"
  7. mysql:
  8. image: mysql
  9. environment:
  10. - MYSQL_ROOT_PASSWORD=gogs
  11. - MYSQL_DATABASE=gogs