Skip to content

Instantly share code, notes, and snippets.

@tam7t
Last active May 18, 2017 14:53
Show Gist options
  • Select an option

  • Save tam7t/ae515fe737e6572a38f1 to your computer and use it in GitHub Desktop.

Select an option

Save tam7t/ae515fe737e6572a38f1 to your computer and use it in GitHub Desktop.

Revisions

  1. tam7t revised this gist Feb 9, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -6,8 +6,8 @@ gogs:
    volumes:
    - ./data:/data
    drone:
    build: .
    # image: drone/drone:0.4
    image: drone/drone:0.4
    # build: .
    # and to compile drone: docker run -v /var/run/docker.sock:/var/run/docker.sock -v `pwd`:/go/src/github.com/drone/drone -it drone/golang:1.5
    ports:
    - "80:8000"
  2. tam7t revised this gist Feb 9, 2016. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -14,7 +14,6 @@ drone:
    environment:
    REMOTE_DRIVER: gogs
    REMOTE_CONFIG: http://gogs:3000?open=true
    DRONE_EXEC_IMAGE: drone/drone-exec:latest
    volumes:
    - "/var/run/docker.sock:/var/run/docker.sock"
    - "./drone:/var/lib/drone"
  3. tam7t revised this gist Feb 9, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -8,6 +8,7 @@ gogs:
    drone:
    build: .
    # image: drone/drone:0.4
    # and to compile drone: docker run -v /var/run/docker.sock:/var/run/docker.sock -v `pwd`:/go/src/github.com/drone/drone -it drone/golang:1.5
    ports:
    - "80:8000"
    environment:
  4. tam7t created this gist Feb 9, 2016.
    21 changes: 21 additions & 0 deletions docker-compose.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    gogs:
    image: gogs/gogs:latest
    ports:
    - "3000:3000"
    - "10022:22"
    volumes:
    - ./data:/data
    drone:
    build: .
    # image: drone/drone:0.4
    ports:
    - "80:8000"
    environment:
    REMOTE_DRIVER: gogs
    REMOTE_CONFIG: http://gogs:3000?open=true
    DRONE_EXEC_IMAGE: drone/drone-exec:latest
    volumes:
    - "/var/run/docker.sock:/var/run/docker.sock"
    - "./drone:/var/lib/drone"
    links:
    - gogs